SCALA_SRC :=
SCALA_SRC += ch/epfl/lara/fdsolver/Instance.scala
SCALA_SRC += ch/epfl/lara/fdsolver/Constraint.scala

SCALAC := scala
RM := rm -rf
MKDIR := mkdir

DEST_DIR := classes

all: build
new: clean build
clean:
	$(RM) $(DEST_DIR)

build: $(SCALA_SRC)
	$(MKDIR) -p $(DEST_DIR)
	$(SCALAC) -classpath $(DEST_DIR) -d $(DEST_DIR) $?
